package ${model_package_service};

import ${name};<#--当前model所在类-->
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

/**
* Created by lewis on ${.now}.
*/
public interface ${model_name}Service {
    Page<${model_name}> findAll(Specification spec, PageRequest pageRequest);
    ${model_name} findBy${model_key_by}(String ${model_key});
    String save${model_name}(${model_name} ${model_name_entity});
}
